package com.mooc.user.service;

import com.mooc.user.mapper.CityMapper;
import com.mooc.user.model.City;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityService {

    @Autowired
    private CityMapper cityMapper;

    public List<City> selectAllCities() {
       return cityMapper.selectAllCities();
    }
}
